package com.kaili.db.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.kaili.pojo.dto.stowage.StowageAddBean;
import com.kaili.pojo.dto.stowage.StowageEditBean;
import com.kaili.pojo.entity.HsEwbsStowage;
import com.baomidou.mybatisplus.service.IService;
import com.kaili.pojo.vo.EwbQueryVO;
import com.kaili.pojo.vo.StowageDetailPdaVO;
import com.kaili.pojo.vo.StowageInfoVO;
import com.kaili.pojo.vo.StowageQueryVO;
import com.kaili.common.exception.BaseExcept;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
public interface IHsEwbsStowageService extends IService<HsEwbsStowage> {

    public int  doAddStowage(StowageAddBean addBean) throws BaseExcept;

    public Page<StowageQueryVO> queryStowagePageList(Page<StowageQueryVO> pager, Map search) throws BaseExcept;

    public List<StowageQueryVO> queryStowageList(Map search) throws BaseExcept;

    public int doConfirmSend(List<String> list);

    public List<EwbQueryVO> queryEwbListByStowageNo(Map searchMap);

    public StowageInfoVO queryStowageInfo(Map<String, Object> searchMap);

    public int updateStowage(StowageEditBean editBean);

    public int deleteStowage(String operationId);

    public boolean isStowage(String ewbNo);

    public List<StowageDetailPdaVO> queryStowageDetailByPda(Map search);

    public List<String> queryStowageSubEwbByPda(Map search);
}
